var ProductModel = require('../models/Product');
exports.list = function (page, callback) {

    if (!page) {
        return callback(1, null);
    }

    ProductModel.list(page, function (err, returnPage) {
        return callback(err, returnPage);
    });

};